import request from '@/utils/request'

// 添加治疗信息
export function saveTreatmentInfo(treatmentInfo) {
  return request({
    url: '/gonitis/treatmentInfo/save',
    method: 'post',
    data: treatmentInfo
  })
}

// 修改治疗信息
export function updateTreatmentInfo(treatmentInfo) {
  return request({
    url: '/gonitis/treatmentInfo/update',
    method: 'put',
    data: treatmentInfo
  })
}

// 根据treatmentId获取患者治疗信息
export function queryTreatmentInfo(treatmentId) {
  return request({
    url: '/gonitis/treatmentInfo/' + treatmentId,
    method: 'get'
  })
}